package com.sjs.flow;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author sjs
 * @desc
 * @since 2022/7/26 16:36
 *
 */

@SpringBootApplication
@ComponentScan(basePackages = {"com.sjs.flow.*"})
@MapperScan({
        "com.sjs.flow.mapper", "com.sjs.flow.*.mapper"
})
//@ItemsScan(basePackages = {"com.uto.core.flow.flowitems.**"})
public class FlowApplication {

    private static final Logger LOG = LoggerFactory.getLogger(FlowApplication.class);

    //
    public static void main(String[] args) {
        LOG.info("********************************************");
        LOG.info("**** starting FlowApplication *****");
        LOG.info("********************************************");
        SpringApplication application = new SpringApplication(FlowApplication.class);
        application.run(args);
    }
}
